package com.feizi.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.feizi.entity.OrderdetailEntity;
import com.feizi.entity.OrderinfoEntity;
import com.feizi.entity.OrderinfoSelectEntity;
import com.feizi.entity.ShipmentsEntity;
import com.feizi.mapper.OrderMapper;
import com.feizi.service.OrderService;
@Service
public class OrderServiceImpl implements OrderService{

	@Autowired
	private OrderMapper orderMapper;
	
	@Override
	public List<OrderinfoEntity> find(OrderinfoSelectEntity ose) {
		// TODO Auto-generated method stub
		return orderMapper.find(ose);
	}

	@Override
	public List<OrderdetailEntity> finddetail(String orderid) {
		// TODO Auto-generated method stub
		return orderMapper.finddetail(orderid);
	}

	@Override
	public int getCount(OrderinfoSelectEntity ose) {
		// TODO Auto-generated method stub
		return orderMapper.getCount(ose);
	}

	@Override
	public int shipments(ShipmentsEntity se) {
		// TODO Auto-generated method stub
		return orderMapper.shipments(se);
	}

	@Override
	public int upOrder(OrderinfoEntity oie) {
		// TODO Auto-generated method stub
		return orderMapper.upOrder(oie);
	}

}
